package com.wep.fence.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author wep
 * @version 1.0
 * 2025/4/25 17:45
 */
@TableName("sys_region_fence")
@Data
public class RegionGeomEntity {
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "区域编码")
    private String code;

    @Schema(description = "文件位置")
    private String path;

    @Schema(description = "记录分割后围栏的json文件位置")
    private String pathPartition;

    @Schema(description = "区域围栏")
    private String geom;

    @Schema(description = "中心点经纬度")
    private String centerGeom;

    @Schema(description = "区域围栏状态：10-启用；99-禁用；")
    private Integer state;

    @TableLogic
    @Schema(description = "删除标识：0-正常；1-删除；")
    private Integer delFlag;
}
